package cn.school.classManage.service;

import cn.school.classManage.vo.SchoolDormitoryVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

public interface SchoolDormitoryService {
    /**
     * 分页查询学校宿舍
     * @param vo
     * @return
     */
    IPage<SchoolDormitoryVO> findSchoolDormitoryPageList(SchoolDormitoryVO vo);

    /**
     * 新增或修改宿舍信息
     * @param vo
     * @return
     */
    int addOrUpdateDormitory(SchoolDormitoryVO vo);

    /**
     * 删除宿舍信息
     * @param id
     * @return
     */
    int deleteDormitoryById(Long id);
}
